cmake_minimum_required(VERSION 3.5)
project(custom_localization)

add_definitions(-std=c++14 -O3)

find_package(Eigen3 REQUIRED)
# find_package(OpenCV REQUIRED)
# find_package(PCL 1.8 REQUIRED COMPONENTS)

find_package(catkin REQUIRED COMPONENTS
    roscpp
    roslib
    rospy
    geometry_msgs
    sensor_msgs
    cv_bridge
    tf
)

include_directories(
    include
    ${catkin_INCLUDE_DIRS}
    ${EIGEN3_INCLUDE_DIR}
)

catkin_package(
    INCLUDE_DIRS include
)

add_executable(localization_node src/map_match.cpp)
target_link_libraries(localization_node ${catkin_LIBRARIES})
